package org.jeecg.modules.bean.entity.patient;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: patient
 * @Author: jeecg-boot
 * @Date:   2023-11-09
 * @Version: V1.0
 */
@Data
@TableName("TBBRJBXX")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TBBRJBXX对象", description="TBBRJBXX")
public class Brjbxx implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "姓名")
    private String cbrxm;

    @ApiModelProperty(value = "性别")
    private String cbrxb;

    @ApiModelProperty(value = "性别")
    private String cxbbm;

    @ApiModelProperty(value = "出生年月")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date dcsny;

    @ApiModelProperty(value = "国籍")
    private String cgj;

    @ApiModelProperty(value = "婚姻")
    private String chy;

    @ApiModelProperty(value = "名族")
    private String cmz;

    @ApiModelProperty(value = "身份证")
    private String csfzh;

    @ApiModelProperty(value = "联系电话")
    private String clxdh;

    @ApiModelProperty(value = "病历号")
    private String mzblh;

    @ApiModelProperty(value = "数据来源 1 旧数据  0新数据")
    @TableField(exist = false)
    private Integer type = 0;
}
